GdkWindowX11: Keep the impl window cairo surface around until destroy
authorAlexander Larsson <alexl@redhat.com>
Thu, 30 Oct 2014 09:30:33 +0000 (10:30 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 30 Oct 2014 09:32:47 +0000 (10:32 +0100)
commitafd9709afff151e04b84b91c6d90b7cff48d6630
tree5007d45eb74b0081dbb58d30b5bbf2c24ea5e4d9
parent47191ce17363e6c6a0df2b490f60f2840a1383e8
GdkWindowX11: Keep the impl window cairo surface around until destroy

We used to have a weak ref to the cairo surface and it was keep
alive by the references in the normal windows, but that reference
was removed by d48adf9cee7e340acd7f8b9a5f9716695352b848, causing
us to constantly create and destroy the surface.

https://bugzilla.gnome.org/show_bug.cgi?id=738648
gdk/x11/gdkwindow-x11.c